<h1>New customer</h1>

<%= error_messages_for :customer %>

<% form_for(@customer) do |f| %>
  <p>
      <b>First Name:</b>
    <%= f.text_field :first_name %>
  </p>
  <p>
      <b>Last Name:</b>
    <%= f.text_field :last_name %>
  </p>
  <p>
      <b>Phone Number:</b>
    <%= f.text_field :phone_number %>
  </p>
  <p>
      <b>Email Address:</b>
    <%= f.text_field :email_address %>
  </p>
  <p>
    <%= f.submit "Create" %>
  </p>
<% end %>

<%= link_to 'Back', customers_path %>
